/**
 * The MIT License (MIT)
 * 
 * Copyright (c) 2016 mo_yq5 (mo_yq5@163.com)
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy of
 * this software and associated documentation files (the "Software"), to deal in
 * the Software without restriction, including without limitation the rights to
 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
 * the Software, and to permit persons to whom the Software is furnished to do so,
 * subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 */
package com.openapi.alipay.trade;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 请求参数－描述分账信息
 * @author Moyq5
 * @since 2016年7月25日
 */
public class RoyaltyInfo {

	/**
	 * 分账类型 卖家的分账类型，目前只支持传入ROYALTY（普通分账类型）。<br>
	 * 最长150，如：ROYALTY
	 */
	@JsonProperty("royalty_type")
	private String royaltyType;
	
	/**
	 * 分账明细的信息，可以描述多条分账指令<br>
	 * 必填，最长2500
	 */
	@JsonProperty("royalty_detail_infos")
	private List<RoyaltyDetailInfo> royaltyDetailInfos;

	/**
	 * @return the royaltyType
	 */
	public String getRoyaltyType() {
		return royaltyType;
	}

	/**
	 * @param royaltyType the royaltyType to set
	 */
	public void setRoyaltyType(String royaltyType) {
		this.royaltyType = royaltyType;
	}

	/**
	 * @return the royaltyDetailInfos
	 */
	public List<RoyaltyDetailInfo> getRoyaltyDetailInfos() {
		return royaltyDetailInfos;
	}

	/**
	 * @param royaltyDetailInfos the royaltyDetailInfos to set
	 */
	public void setRoyaltyDetailInfos(List<RoyaltyDetailInfo> royaltyDetailInfos) {
		this.royaltyDetailInfos = royaltyDetailInfos;
	}
}
